﻿using Sundry.IBLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sundry.BLL
{
    public class ServiceEntrace : IServiceEntrace
    {
        /// <summary>
        /// 获取管理员服务类
        /// </summary>
        public IAdminService GetAdminService { get { return new AdminService(); } }
        /// <summary>
        /// 获取管理员登录日志服务类
        /// </summary>
        public IAdminLoginLogService GetAdminLoginLogService { get { return new AdminLoginLogService(); } }
        /// <summary>
        /// 获取管理员操作日志服务类
        /// </summary>
        public IAdminOperationService GetAdminOperationService { get { return new AdminOperationService(); } }
        /// <summary>
        /// 获取权限服务类
        /// </summary>
        public IAuthoryService GetAuthoryService { get { return new AuthoryService(); } }
        /// <summary>
        /// 获取菜单服务类
        /// </summary>
        public IAdminMenuService GetAdminMenuService { get { return new AdminMenuService(); } }
        /// <summary>
        /// 获取品牌服务类
        /// </summary>
        public IBrandService GetBrandService { get { return new BrandService(); } }
        /// <summary>
        /// 获取分类服务
        /// </summary>
        public ICategoryService GetCategoryService { get { return new CategoryService(); } }
    }
}
